#ifndef THREADSDLG_H
#define THREADSDLG_H

#include <wx/panel.h>
#include <M_Code_debugger_interfaces.h>

class wxCommandEvent;
class wxListCtrl;
class wxListEvent;

class ThreadsDlg : public wxPanel, public cbThreadsDlg {
  public:
    ThreadsDlg( wxWindow* parent );
    wxWindow* GetWindow() { return this; }
    void Reload();
    void EnableWindow( bool enable );
  protected:
    void OnListRightClick( wxListEvent& event );
    void OnListDoubleClick( wxListEvent& event );
    void OnSwitchThread( wxCommandEvent& event );
  private:
    DECLARE_EVENT_TABLE();
  private:
    wxListCtrl *m_list;
};

#endif
